<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<jsp:include page="include.jsp"></jsp:include>
</head>
<body>
	<div class="page-header">
		<div class="container">
			<h1>
				登录 <small>新闻网！</small>
			</h1>
		</div>
	</div>

	<div class="container">
		<div class="row">
			<div class="col-md-4"></div>
			<div class="col-md-4">
				<form action="users.do?op=login" method="post">
					<div class="form-group">
						<label for="username">用户名：</label>
						<input type="text" name="username" class="form-control" id="usernmae" placeholder="请输入用户名">
					</div>
					<div class="form-group">
						<label for="password">密　码：</label> 
						<input type="password" name="password" class="form-control" id="password" placeholder="请输入密码">
					</div>
					<div class='<%=request.getAttribute("error") == null ? "alert-success" : "alert-danger" %>'>
						<label>
							<%=request.getAttribute("error") == null ? "请输入登录信息" : "用户名或密码错误！" %>
						</label>
					</div>
					<button type="submit" style="float:left;" class="btn btn-success">登录</button>
					<button type="reset"  style="float:right;" class="btn btn-primary">重置</button>
				</form>
			</div>
			<div class="col-md-4"></div>
		</div>
	</div>
	<div class="navbar navbar-fixed-bottom">
		<div class="page-header">
			<div class="container">
				<div class="row">
					<div class="col-md-4">
						<h3>友情链接</h3>
						<hr>
						<a href="http://www.bootcss.cn">Bootstrap中文网</a> <br /> <a
							href="http://www.apache.org">Apache </a>
					</div>
					<div class="col-md-4">
						<h3>我们用到的技术</h3>
						<hr>
						<a href="http://tomcat.apache.org">Tomcat 8.x</a><br> <a
							href="http://www.bootcss.org">Bootstrap</a><br> <a
							href="http://ueditor.baidu.com/website/">UEditor</a>
					</div>
					<div class="col-md-4">
						<h3>赞助商</h3>
						<hr>
						<a href="http://51j08.gxasz.com">51J08</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>









